package com.itheima.itheima_health.mapper;

import com.itheima.itheima_health.pojo.Login;
import com.itheima.itheima_health.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserLoginMapper {
    @Select("select * from t_user where email = #{email}")
    User getByEmail(Login loginInfo);
}
